<?php
require_once 'classes/Login.php';
$Login = new Login;
if($Login->verify())
{
    header('Location:myAccount.php');
}
include 'includes/header.inc.php';
?>
            <div id="form">
                <h1>Login</h1>
                    <fieldset id="memberLoginFormPage">
                            <form method="post" action="#">
                                    <p>
                                        <label for="emailPage">Email: </label>
                                        <input type="text" name="emailPage" id="emailPage" class="input" value=""/>
                                    </p>
                                    <p>
                                        <label for="passwordPage">Password: </label>
                                        <input type="password" name="passwordPage" id="passwordPage" class="input" value="" />
                                    </p>
                                    <div id="regLinks">
                                        <a href="register.php">Click here to Sign Up!</a>&nbsp;|&nbsp;<a href="forgotPassword.php">Forgot Password?</a>
                                    </div>
                                    <p>
                                        <input type="submit" name="loginPage" id="loginPage" class="button" value="Login" />
                                    </p>
                            </form>
                    </fieldset>
                    <div id="loading"><img src="/sandbox1/media/images/loader.gif" alt="Loading..." /></div>
                    <div id="feedback"></div>
            </div>
<?php include 'includes/footer.inc.php'; ?>